package com.intretech.umsin.auth.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @version V1.0
 * @ClassName: RegisterBody
 * @Description: 功能描述 用户注册对象
 * @author: 李启联
 * @date: 2022-8-8 15:12
 * @Copyright: Copyright (c) 2022
 */
@ApiModel("用户注册对象")
public class RegisterBody extends LoginBody {

    @ApiModelProperty(value = "用户类型")
    private String userType;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public RegisterBody(String account, String password) {
        super(account, password);
    }

    public RegisterBody(String account, String password, String userType) {
        super(account, password);
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "RegisterBody{" +
                "userType='" + userType + '\'' +
                '}';
    }
}